/*
 * @Description:
 * @Version: 1.0
 * @Autor: laikt
 * @Date: 2021-01-07 10:56:08
 * @LastEditors: laikt
 * @LastEditTime: 2021-01-07 13:43:53
 */
import copy from './copy'
import debounce from './debounce'
import draggable from './draggable'

// 自定义指令
const directives = {
    copy,
    debounce,
    draggable
}

export default {
    install(Vue) {
        Object.keys(directives).forEach(key => {
            Vue.directive(key, directives[key])
        })
    }
}
